package com.ntes.turbine;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * Created by bjliuyue1 on 2017/5/19.
 */
@SpringBootApplication //scanBasePackages指定要扫描的包
@EnableTurbine //开启turbine，@EnableTurbine注解包含了@EnableDiscoveryClient注解，即开启了注册服务。
@EnableHystrixDashboard //使用Dashboard界面
public class TurbineApplication {

    public static void main(String[] args) {
        SpringApplication.run(TurbineApplication.class, args);
    }
}
